package com.lagou.edu.mvcframework.annotations;

import java.lang.annotation.*;

/**
 * @author liuc
 * @date 2021/4/22
 * @description 权限注解
 **/
@Inherited
@Documented
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Security {
    //数组，标识有哪些用户角色拥有权限
    String[] user() default {};
}
